<?php
$strTableName="commercial_invoices";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="commercial_invoices";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,  account_id,  buyer_id,  consignee_id,  notify_id,  commercial_invoice_no,  commercial_invoice_date,  customer_purchase_order_no,  bl_awb_no,  country_id,  export_date,  payment_term,  export_references,  export_route,  package_marks,  misc_charges,  certifications,  \"\" AS account_name,  \"\" AS buyer,  \"\" AS consignee,  \"\" AS notify,  proforma_invoice_id";
$gsqlFrom="FROM commercial_invoices";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/commercial_invoices_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_commercial_invoices;
$eventObj = &$tableEvents["commercial_invoices"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>